import { GithubOutlined } from "@ant-design/icons";
import { DefaultFooter } from "@ant-design/pro-components";
import React from "react";

const Footer = ({style={}}) => {
  const defaultMessage = "上海联捷消防科技有限公司技术部出品";

  const currentYear = new Date().getFullYear();

  return (
    <DefaultFooter
      style={{
        ...style,
        background: "none",
      }}
      copyright={`${currentYear} ${defaultMessage}`}
      links={[
        {
          key: "上海联捷",
          title: "上海联捷",
          href: "http://www.safeyou.cn/",
          blankTarget: true,
        },
        {
          key: "wyuer",
          title: <GithubOutlined />,
          blankTarget: true,
        },
        {
          key: "Ant Design",
          title: "Ant Design",
          href: "https://ant.design",
          blankTarget: true,
        },
      ]}
    />
  );
};

export default Footer;
